#!/bin/bash
wget http://www.apache.org/dist/ws/muse/2.2.0/bin/muse-2.2.0-bin.zip
unzip muse-2.2.0-bin.zip
cp muse-2.2.0-bin/modules/core/*.jar lib
cp muse-2.2.0-bin/modules/ws-fx-impl/muse-wsn-impl-2.2.0.jar lib
cp muse-2.2.0-bin/modules/ws-fx-impl/muse-wsrf-impl-2.2.0.jar lib
cp muse-2.2.0-bin/modules/ws-fx-api/muse-wsn-api-2.2.0.jar lib
cp muse-2.2.0-bin/modules/ws-fx-api/muse-wsrf-api-2.2.0.jar lib
rm -rf muse-2.2.0-bin
rm muse-2.2.0-bin.zip